package com.ruoyi.yijing.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户账号对象 customer_info_account
 * 
 * @author ruoyi
 * @date 2024-02-03
 */
public class CustomerInfoAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员账号信息ID */
    private Long customerAccountUid;

    /** 会员ID */
    @Excel(name = "会员ID")
    private Long customerUid;

    /** 登录账号/openID/手机号码 */
    @Excel(name = "登录账号/openID/手机号码")
    private String accountName;

    /** 账号昵称 */
    @Excel(name = "账号昵称")
    private String accountNickName;

    /** 登录密码 */
    @Excel(name = "登录密码")
    private String accountPassword;

    /** 会员头像 */
    @Excel(name = "会员头像")
    private String accountHeadImg;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date regTime;

    /** 注册IP */
    @Excel(name = "注册IP")
    private String regIp;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String PHONE;

    /** 登陆时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "登陆时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date loginTime;

    /** 登陆次数 */
    @Excel(name = "登陆次数")
    private Integer loginNumber;

    /** 状态 0锁定/1正常 */
    @Excel(name = "状态 0锁定/1正常")
    private String accountStatus;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long createUser;

    /** 修改人 */
    @Excel(name = "修改人")
    private Long updateUser;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 平台ID */
    @Excel(name = "平台ID")
    private String platformUid;

    /** 账号来源端口 applet(微信小程序) */
    @Excel(name = "账号来源端口 applet(微信小程序)")
    private String sourcePort;

    /** open id */
    @Excel(name = "open id")
    private String openId;

    /** union_id */
    @Excel(name = "union_id")
    private String unionId;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String createName;

    /** 修改人名称 */
    @Excel(name = "修改人名称")
    private String updateName;

    /** 推荐人ID */
    @Excel(name = "推荐人ID")
    private Long fromCustomerUid;

    /** 性别 1男，0女 */
    @Excel(name = "性别 1男，0女")
    private String SEX;

    /** 国籍 */
    @Excel(name = "国籍")
    private String NATION;

    /** 省份 */
    @Excel(name = "省份")
    private String PROVINCE;

    /** 城市 */
    @Excel(name = "城市")
    private String CITY;

    public void setCustomerAccountUid(Long customerAccountUid) 
    {
        this.customerAccountUid = customerAccountUid;
    }

    public Long getCustomerAccountUid() 
    {
        return customerAccountUid;
    }
    public void setCustomerUid(Long customerUid) 
    {
        this.customerUid = customerUid;
    }

    public Long getCustomerUid() 
    {
        return customerUid;
    }
    public void setAccountName(String accountName) 
    {
        this.accountName = accountName;
    }

    public String getAccountName() 
    {
        return accountName;
    }
    public void setAccountNickName(String accountNickName) 
    {
        this.accountNickName = accountNickName;
    }

    public String getAccountNickName() 
    {
        return accountNickName;
    }
    public void setAccountPassword(String accountPassword) 
    {
        this.accountPassword = accountPassword;
    }

    public String getAccountPassword() 
    {
        return accountPassword;
    }
    public void setAccountHeadImg(String accountHeadImg) 
    {
        this.accountHeadImg = accountHeadImg;
    }

    public String getAccountHeadImg() 
    {
        return accountHeadImg;
    }
    public void setRegTime(Date regTime) 
    {
        this.regTime = regTime;
    }

    public Date getRegTime() 
    {
        return regTime;
    }
    public void setRegIp(String regIp) 
    {
        this.regIp = regIp;
    }

    public String getRegIp() 
    {
        return regIp;
    }
    public void setPHONE(String PHONE) 
    {
        this.PHONE = PHONE;
    }

    public String getPHONE() 
    {
        return PHONE;
    }
    public void setLoginTime(Date loginTime) 
    {
        this.loginTime = loginTime;
    }

    public Date getLoginTime() 
    {
        return loginTime;
    }
    public void setLoginNumber(Integer loginNumber) 
    {
        this.loginNumber = loginNumber;
    }

    public Integer getLoginNumber() 
    {
        return loginNumber;
    }
    public void setAccountStatus(String accountStatus) 
    {
        this.accountStatus = accountStatus;
    }

    public String getAccountStatus() 
    {
        return accountStatus;
    }
    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(Long updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() 
    {
        return updateUser;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setPlatformUid(String platformUid)
    {
        this.platformUid = platformUid;
    }

    public String getPlatformUid()
    {
        return platformUid;
    }
    public void setSourcePort(String sourcePort) 
    {
        this.sourcePort = sourcePort;
    }

    public String getSourcePort() 
    {
        return sourcePort;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setUnionId(String unionId) 
    {
        this.unionId = unionId;
    }

    public String getUnionId() 
    {
        return unionId;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setFromCustomerUid(Long fromCustomerUid) 
    {
        this.fromCustomerUid = fromCustomerUid;
    }

    public Long getFromCustomerUid() 
    {
        return fromCustomerUid;
    }
    public void setSEX(String SEX) 
    {
        this.SEX = SEX;
    }

    public String getSEX() 
    {
        return SEX;
    }
    public void setNATION(String NATION) 
    {
        this.NATION = NATION;
    }

    public String getNATION() 
    {
        return NATION;
    }
    public void setPROVINCE(String PROVINCE) 
    {
        this.PROVINCE = PROVINCE;
    }

    public String getPROVINCE() 
    {
        return PROVINCE;
    }
    public void setCITY(String CITY) 
    {
        this.CITY = CITY;
    }

    public String getCITY() 
    {
        return CITY;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("customerAccountUid", getCustomerAccountUid())
            .append("customerUid", getCustomerUid())
            .append("accountName", getAccountName())
            .append("accountNickName", getAccountNickName())
            .append("accountPassword", getAccountPassword())
            .append("accountHeadImg", getAccountHeadImg())
            .append("regTime", getRegTime())
            .append("regIp", getRegIp())
            .append("PHONE", getPHONE())
            .append("loginTime", getLoginTime())
            .append("loginNumber", getLoginNumber())
            .append("accountStatus", getAccountStatus())
            .append("createUser", getCreateUser())
            .append("updateUser", getUpdateUser())
            .append("createDate", getCreateDate())
            .append("updateDate", getUpdateDate())
            .append("platformUid", getPlatformUid())
            .append("sourcePort", getSourcePort())
            .append("openId", getOpenId())
            .append("unionId", getUnionId())
            .append("createName", getCreateName())
            .append("updateName", getUpdateName())
            .append("fromCustomerUid", getFromCustomerUid())
            .append("SEX", getSEX())
            .append("NATION", getNATION())
            .append("PROVINCE", getPROVINCE())
            .append("CITY", getCITY())
            .toString();
    }
}
